package com.jxmcloud.business.cut.service.impl.logic;

import com.jxmcloud.business.cut.service.logic.ICouponHandle;
import com.jxmcloud.business.cut.util.VipRpcUtil;
import com.jxmcloud.business.cut.dto.client.CouponParamDto;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class CouponHandleImpl implements ICouponHandle {
    @Autowired
    private VipRpcUtil vipRpcUtil;


    @Override
    public boolean sendUserCoupon(CouponParamDto couponParamDto) {
        return vipRpcUtil.sendCoupon(couponParamDto);
    }
}
